// 连接数据库
const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost/petShop", { useNewUrlParser: true });
mongoose.connection.on("connected", function () {
    console.log("mongoose已经成功连接上 localhost/petShop 了");
})

require("./models/adminsModel");
require("./models/addressesModel");
require("./models/appliesModel");
require("./models/goodsModel");
require("./models/orderGoodsModel");
require("./models/ordersModel");
require("./models/servicesModel");
require("./models/shopsModel");
require("./models/usersModel");